@import "../../scss/var";
@import "../../scss/mixin";

page {
  background-color: #f4f4f4;
}

.can-withdraw-money-container{
  height: 330px;
  background-color: $them;
  text-align: center;
  .title{
    margin-top: 38px;
    text-align: center;
    font-size: 22px;
    line-height: 1;
    color: #ffffff;
    opacity: 0.6;
  }
  .num-container{
    position: relative;
    margin-top: 36px;
    color: #fff;
    font-weight: bold;
    font-size: 100px;
    line-height: 1;
    text-align: center;
    .sign{
      position: absolute;
      font-size: 36px;
      top: 10px;
      transform: translateX(-100%);
    }
  }
}

.withdraw-container{
  @include container;
  padding: 30px 34px;
  margin-top: -100px;
  height: 482px;
  background-color: #ffffff;
  box-shadow: 0px 0px 4px 0px
  rgba(0, 0, 0, 0.5);
  .title{
    position: relative;
    font-size: 24px;
    line-height: 1;
    color: $black-title;
    font-weight: bold;
    .account{
      position: absolute;
      top: 0;
      right: 0;
      font-size: 24px;
      line-height: 1;
      color: #000009;
      opacity: 0.6;
    }
  }
  .input-container{
    position: relative;
    margin-top: 44px;
    padding-bottom: 52px;
    border-bottom: 2px solid #ebebeb;
    .input-wrapper{
      display: flex;
      align-items: center;
      height: 55px;
      .input{
        padding: 45px 0;
        font-size: 55px;
        height: 55px;
        flex: auto;
      }
      .sign,.all{
        flex-shrink: 0;
      }
      .all{
        color: $them;
        font-size: 24px;
      }
    }
    .errorLine{
      position: absolute;
      left: 0;
      top: 100%;
      width: 0;
      height: 1px;
      background-color: #ff6060;
      z-index: 1;
      opacity: 0;
      transition: all .2s ease-in-out;
      &.show{
        opacity: 1;
        width: 100%;
      }
    }
  }

  .tips{
    margin: 30px 0;
    font-size: 24px;
    line-height: 1;
    color: #999999;
    &.error{
      color: #ff6060;
    }
  }

  .btn{
    margin-bottom: 30px;
    width: 604px;
    height: 88px;
    line-height: 88px;
    background-image: linear-gradient(90deg,
      #30c27c 0%,
      #2cce80 50%,
      #27d984 100%),
    linear-gradient(
        #ff5050,
        #ff5050);
    background-blend-mode: normal,
    normal;
    border-radius: 44px;
    color: #fff;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
  }

  .record{
    font-size: 24px;
    line-height: 1;
    color: $them;
    text-align: right;
  }
}

.withdraw-desc-container{
  @include container;
  color: #666;
  .title{
    margin: 34px 0 20px;
    font-size: 28px;
  }
  .desc{
    font-size: 24px;
    line-height: 40px;
  }
}

.modal-container{
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,.5);
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease-in;
  z-index: 9;
  &.show{
    opacity: 1;
    visibility: visible;
  }
  .captcha-modal-container{
    width: 600px;
    height: 464px;
    background-color: #ffffff;
    border-radius: 32px;
    .header{
      position: relative;
      padding-top: 40px;
      text-align: center;
      color: $black-title;
      font-size: 34px;
      line-height: 1;
      .close{
        position: absolute;
        top: 20px;
        right: 20px;
        width: 26px;
        height: 26px;
      }
    }

    .content{
      margin-top: 35px;
      .desc{
        text-align: center;
        line-height: 1;
        color: #999;
        font-size: 24px;
        .text{
          color: $black-title;
        }
      }
      .mobile{
        margin-top: 30px;
        text-align: center;
        line-height: 1;
        font-size: 32px;
      }
      .form-container{
        padding-bottom: 20px;
        margin: 40px 40px 0;
        height: 56px;
        border-bottom: 1px solid $them;
        display: flex;
        align-items: center;
        .cap-icon{
          width: 44px;
          height: 44px;
        }
        .cap-input{
          margin: 0 15px 0 40px;
          width: 150px;
          font-size: 24px;
        }
        .cap-clear{
          width: 48px;
          height: 48px;

        }
        .get-cap{
          margin-left: 64px;
          width: 172px;
          height: 56px;
          line-height: 56px;
          border-radius: 28px;
          border: solid 1px #00b7ff;
          font-size: 24px;
          color: #00b7ff;
          text-align: center;
        }
      }

      .btn{
        margin: 56px auto 0;
        width: 520px;
        height: 64px;
        line-height: 64px;
        background-color: #30c27c;
        border-radius: 32px;
        text-align: center;
        font-size: 32px;
        color: #ffffff;
      }
    }
  }
}
